/*
 * Created by SharpDevelop.
 * User: nebulom
 * Date: 9/3/2009
 * Time: 9:46 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using PilotFish.Model.Dao.Interface;

namespace PilotFish.Model.Dao
{
	/// <summary>
	/// Description of DaoFactory.
	/// </summary>
	public class DaoFactory
	{
		public const int NHIBERNATE = 0;
		
		public DaoFactory()
		{
		}
		
		public static DaoFactory GetDaoFactory(int type)
		{
			switch (type) {
				case NHIBERNATE:
					return new NHibernateDaoFactory();
				default:
					throw new NotSupportedException();
			}
		}
		
		public virtual IAllergyDao CreateAllergyDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IDoctorDao CreateDoctorDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IPatientDao CreatePatientDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IUserDao CreateUserDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IToDoDao CreateToDoDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IClinicDao CreateClinicDao()
		{
			throw new NotImplementedException();
		}
	}
}
